package com.xungou.goodTypePropertyValue.service.impl;

import com.xungou.core.mvc.AbstractService;
import com.xungou.core.mvc.IDao;
import com.xungou.goodTypePropertyValue.dao.IGoodTypePropertyValue;
import com.xungou.goodTypePropertyValue.pojo.GoodTypePropertyValue;
import com.xungou.goodTypePropertyValue.service.IGoodTypePropertyValueService;
import com.xungou.goodtypeproperty.dao.IGoodTypeProperty;
import com.xungou.goodtypeproperty.pojo.GoodTypeProperty;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


@Service("goodTypePropertyValueService")
public class GoodTypePropertyValueServiceImpl extends AbstractService<GoodTypePropertyValue> implements IGoodTypePropertyValueService {
    @Resource
    private IGoodTypePropertyValue iGoodTypePropertyValue;

    @Override
    protected IDao<GoodTypePropertyValue> getDao() {
        return iGoodTypePropertyValue;
    }

    @Override
    public List<Map<String, Object>> search(Map<String, String> params) {
        return iGoodTypePropertyValue.search(params);
    }
}